package com.hcb.micro.service;

import java.util.List;

import com.hcb.micro.dto.District;

public interface IDistrictService {
	 
    int deleteByPrimaryKey(Integer id);

    int insert(District record);

    int insertSelective(District record);

    District selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(District record);

    int updateByPrimaryKey(District record);
    
    District selectByDistrictId(Integer districtId);
    
    List<District> selectByCityId(Integer cityId);
    
    List<District> selectAll();
}
